<?php
namespace Tbf\Bundle\TbfBundle\Service;

class SymfonyKernelFactory
{
    protected $env = null;
    protected $debug = null;
    public function __construct($env,$debug)
    {
        $this->env = $env;
        $this->debug = $debug;
    }
    public function newKernel()
    {
        return new \AppKernel($this->env,$this->debug);
    }
}
